package com.bl.weilan.service.vo.main;

import com.bl.weilan.service.vo.AbstractVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * Created by liangweikang on 2017/5/22.
 */
@Data
@ApiModel(value="resetBody", description="重置密码请求body", discriminator = "重置密码请求body")
public class ResetVo extends AbstractVo {

    @NotNull(message = "注册时账号不能为空")
    @ApiModelProperty(value = "注册时手机号", required = true)
    private String account;

    @NotNull(message = "密码不能为空")
    @ApiModelProperty(value = "密码", required = true)
    private String password;

    @NotNull(message = "旧密码不能为空")
    @ApiModelProperty(value = "密码", required = true)
    private String oldPassword;
}
